package com.nbjtjc.safe.api.safe;

import com.nbjtjc.safe.bean.Result;
import com.nbjtjc.safe.model.safe.SafeBasis;
import com.nbjtjc.safe.model.safe.SafeEnterprise;
import com.nbjtjc.safe.service.safe.EnterpriseServiceImpl;
import com.nbjtjc.safe.service.safe.SafeBasisServiceImpl;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/safe/basis")
@CrossOrigin("*")
public class SafeBasisController {


    @Autowired
    private SafeBasisServiceImpl safeBasisService;
    @PostMapping(value = "/search")
    public Result search( SafeBasis basis){
        return  safeBasisService.search(basis);
    }


}
